package com.ExaminStudy;

import java.util.Scanner;

public class LuoBuyApple {
    public static void main(String[] args) {


        Scanner sc = new Scanner(System.in);
        System.out.println("请你输入学生数n");
        int n=sc.nextInt();
        System.out.println("请输入每位同学得到的苹果数m");
        int m=sc.nextInt();
        int num=n*m;
        System.out.println("得到的总苹果数是"+num);
    }
}
